package com.sky.delegate.allinpay;

/**
 * Created by Tom.
 *
 * 黄总去决定项目
 */
public class Boss {

    private  String name ;

    public String getName( ) {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    private  Boss(){

    }


    private  Boss(String name){
        this.name = name ;
    }

    public  static  Boss  getInstance(String name ) {
        return new Boss(name );
    }


    public void command(String task, LeaderLiang leaderLiang){
        leaderLiang.doing(task);
    }


}
